package bam.entity;

import java.util.Date;
import java.util.HashSet;
import java.util.Set;

/**
 * Comboinfo entity. @author MyEclipse Persistence Tools
 */

public class Comboinfo implements java.io.Serializable {

	// Fields

	private Integer id;
	private Area area;
	private Users users;
	private Areatype areatype;
	private Areainfo areainfo;
	private Date buyTime;
	private String descr;
	private Integer status;
	private Integer comboid;
	private String comboName;
	private Integer bandwidth;
	private Integer timeLong;
	private Date endTime;
	private Integer wayId;
	private Double money;
	private Integer comboUnit;
	private Set userinfos = new HashSet(0);

	// Constructors

	/** default constructor */
	public Comboinfo() {
	}

	/** full constructor */
	public Comboinfo(Area area, Users users, Areatype areatype,
			Areainfo areainfo, Date buyTime, String descr, Integer status,
			Integer comboid, String comboName, Integer bandwidth,
			Integer timeLong, Date endTime, Integer wayId, Double money,
			Integer comboUnit, Set userinfos) {
		this.area = area;
		this.users = users;
		this.areatype = areatype;
		this.areainfo = areainfo;
		this.buyTime = buyTime;
		this.descr = descr;
		this.status = status;
		this.comboid = comboid;
		this.comboName = comboName;
		this.bandwidth = bandwidth;
		this.timeLong = timeLong;
		this.endTime = endTime;
		this.wayId = wayId;
		this.money = money;
		this.comboUnit = comboUnit;
		this.userinfos = userinfos;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Area getArea() {
		return this.area;
	}

	public void setArea(Area area) {
		this.area = area;
	}

	public Users getUsers() {
		return this.users;
	}

	public void setUsers(Users users) {
		this.users = users;
	}

	public Areatype getAreatype() {
		return this.areatype;
	}

	public void setAreatype(Areatype areatype) {
		this.areatype = areatype;
	}

	public Areainfo getAreainfo() {
		return this.areainfo;
	}

	public void setAreainfo(Areainfo areainfo) {
		this.areainfo = areainfo;
	}

	public Date getBuyTime() {
		return this.buyTime;
	}

	public void setBuyTime(Date buyTime) {
		this.buyTime = buyTime;
	}

	public String getDescr() {
		return this.descr;
	}

	public void setDescr(String descr) {
		this.descr = descr;
	}

	public Integer getStatus() {
		return this.status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public Integer getComboid() {
		return this.comboid;
	}

	public void setComboid(Integer comboid) {
		this.comboid = comboid;
	}

	public String getComboName() {
		return this.comboName;
	}

	public void setComboName(String comboName) {
		this.comboName = comboName;
	}

	public Integer getBandwidth() {
		return this.bandwidth;
	}

	public void setBandwidth(Integer bandwidth) {
		this.bandwidth = bandwidth;
	}

	public Integer getTimeLong() {
		return this.timeLong;
	}

	public void setTimeLong(Integer timeLong) {
		this.timeLong = timeLong;
	}

	public Date getEndTime() {
		return this.endTime;
	}

	public void setEndTime(Date endTime) {
		this.endTime = endTime;
	}

	public Integer getWayId() {
		return this.wayId;
	}

	public void setWayId(Integer wayId) {
		this.wayId = wayId;
	}

	public Double getMoney() {
		return this.money;
	}

	public void setMoney(Double money) {
		this.money = money;
	}

	public Integer getComboUnit() {
		return this.comboUnit;
	}

	public void setComboUnit(Integer comboUnit) {
		this.comboUnit = comboUnit;
	}

	public Set getUserinfos() {
		return this.userinfos;
	}

	public void setUserinfos(Set userinfos) {
		this.userinfos = userinfos;
	}

}